package com.bdq.content.infrastructure.persistence.mysql.service;

import com.bdq.content.infrastructure.persistence.mysql.pojo.ContentLocation;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author malei
* @description 针对表【content_location(内容所在地表)】的数据库操作Service
* @createDate 2024-05-10 17:16:39
*/
public interface ContentLocationService extends IService<ContentLocation> {

    /**
     * 根据内容ID获取
     *
     * @param contentId
     * @return
     */
    ContentLocation getByContentId(Long contentId);

    /**
     * 根据内容ID查询
     *
     * @param contentIds
     * @return
     */
    List<ContentLocation> listByContentIds(List<Long> contentIds);
}
